<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";	
%>
<html>
<head>
<base href="<%=basePath %>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>异常页面</title>
<link href="css/error.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="page">
  <div class="content">
		<h1>出错了</h1>
        <div class="xiangqing">            
            <c:choose>
              <c:when test="${empty exceptions}">
                 <h3>系统出现未知错误，请与系统维护人员联系。<h3>   
              </c:when>
              <c:otherwise>
                 <textarea style="width:260px;height:85px;overflow:auto;border: 0;" readonly="readonly">${exceptions }</textarea>
              </c:otherwise>
            </c:choose> 
        </div>
        <div align="center"><a href="javascript:void(0)" onclick="history.go(-1);">返回上一页</a></div>                   
      
	</div>
</div>
</body>
</html>